Rem | Restart |
This command can implement a repeat loop to execute any statements within the loop until the exiting Boolean expression is true. It can only be used in Events. Note that statements will always be executed at least once.
Syntax:
@Repeat
@Until Boolean expression
@For/Next, @While/Wend and @Repeat/Until - there is a maximum of 10 nested loops for each of these commands (a combination of these commands can provide up to 30 nested loops).